import { Link } from "react-router-dom";
import { Breadcrumb, Card } from "antd";
import ArticleSift from "./ArticleSift";
import ArticleTable from "./ArticleTable";

const Article = () => {
  return (
    <div>
      <Card
        title={
          <Breadcrumb
            items={[
              { title: <Link to={"/"}>首页</Link> },
              { title: "文章列表" },
            ]}
          />
        }
        style={{ marginBottom: 20 }}
      >
        <ArticleSift />
        <ArticleTable />
      </Card>
    </div>
  );
};

export default Article;
